<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport"
        content="width=device-width, initial-scale=1, maximum-scale=1.0,minimum-scale=1.0,user-scalable=no"/>
  <meta name="format-detection" content="telephone=no, email=no"/>
  <!-- 忽略页面中的数字识别为电话，忽略email识别 -->
  <meta name="applicable-device" content="mobile"/>
  <meta name="apple-mobile-web-app-title" content="标题"/>
  <!-- 添加到主屏后的标题（iOS 6 新增） -->
  <meta name="apple-mobile-web-app-capable" content="yes"/>
  <!-- 是否启用 WebApp 全屏模式 -->
  <meta name="HandheldFriendly" content="true"/>
  <!-- 针对手持设备优化，主要是针对一些老的不识别viewport的浏览器，比如黑莓 -->
  <meta name="keywords" content="直播盐都"/>
  <meta name="description" content="直播盐都"/>
  <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
  <meta name="cl">
  <title>直播盐都</title>
  <style>
    html,body{padding:0}
    .descBox{
      box-sizing: border-box;
      padding: .1rem 0;
    }
    .descCont p{
      padding: 0rem .1rem;
      margin-bottom: 0.3rem;
    }.descCont img {
       width: 100% !important;
       margin-bottom: 0.7rem;
       height: auto !important;
     }


    .descCont p, .descImgTit {
      padding: 0 0.5rem;
     /* font: normal 1.3rem/1.7rem "";*/
      font-size: 18px;
      line-height: 24px;
      color: #000;
      margin-bottom: 0.7rem;
    }


    .descImgTit {
      display: block;
      /*font: normal 1.2rem/1.4rem "";*/
      font-size: 14px;
      line-height: 18px;
      color: #989898;
      text-align: center;
    }


  </style>
  <script>
    $(function () {
      $(".descCont").find("img").click(function(){
        var src=$(this).attr("src");
        window.jsObj.HtmlcallJava2(src);
        console.log(src);
      });
      $(".descCont").find("img").each(function(){
        var alt=$(this).attr("alt");

        if(null!=alt&&""!=alt){
          var altTmp=alt.toUpperCase();
          if(altTmp.endsWith("JPG")||
              altTmp.endsWith("JPEG")||
              altTmp.endsWith("PNG")||
              altTmp.endsWith("GIF")||
              altTmp.endsWith("TIFF")||
              altTmp.endsWith("PSD")||
              altTmp.endsWith("SVG")||
              altTmp.endsWith("TGA")||
              altTmp.endsWith("EPS")||
              altTmp.endsWith("ARW")
             ){
            console.log("尾缀包含图片格式"+altTmp+",跳过")
             }else{
            var html='<span class="descImgTit">'+alt+'</span>';
            }

          $(this).after(html);
        }
      })
      /*
       $("#event").on({
       click: function (e) {
       if (e.target.nodeName === "IMG"){
       showHtmlcallJava2(e.target)
       }
       }
       })*/
    })
    /*function showHtmlcallJava2(dom){
     var src=$(dom).attr("src");
     var str = window.jsObj.HtmlcallJava2(src);
     console.log(src);
     }*/
  </script>
</head>
<body style="background: #fff;">

<!--video e-->
<div class="descBox">
  <div class="descCont">
    <div id="event">${(info.textWithoutPageBreak)!}</div>
  </div>
</div>
</body>
</html>
